<?php

namespace app\controller;

use app\service\UserService;

class UserController extends ControllerBase
{

    //获取用户信息
    public function info()
    {
        $user = UserService::info($this->user);
        return json(apiSuccess($user));
    }



}